import {RouteRecordRaw} from "vue-router"

export const workSpaceRoute: RouteRecordRaw[] = [
    {
        path: "/workspace",
        name: "Workspace",
        meta: {
            left: "workspace"
        },
        component: () => import("@/pages/workSpace/WorkSpace.vue"),
        children: [
            {
                path: "/workspace",
                redirect: "/workspace/toWork"
            },
            {
                path: "/workspace/toWork",
                name: "ToWork",
                component: () => import("@/pages/workSpace/views/ToWork.vue")
            }
        ]
    }
]